package pckEntidad;

import java.io.Serializable;


public class Producto implements Serializable {

    private String idprod;
    private String descpro;
    private double stockact;
    private double stockmin;
    private String estapro;
    private String codipro;
    private String obspro;
    private double precvent;
    private Marca marca;/*OJO Posiblemente cambiar a publico*/
    private Color color;/*OJO Posiblemente cambiar a publico*/
    private Linea linea;/*OJO Posiblemente cambiar a publico*/


    public Producto() {
    }

    public Producto(String idprod, String descpro, double stockact, double stockmin, String estapro, String codipro,
                    String obspro, double precvent, Marca marca, Color color, Linea linea) {
        super();
        this.idprod = idprod;
        this.descpro = descpro;
        this.stockact = stockact;
        this.stockmin = stockmin;
        this.estapro = estapro;
        this.codipro = codipro;
        this.obspro = obspro;
        this.precvent = precvent;
        this.marca = marca;
        this.color = color;
        this.linea = linea;
    }


    public String getIdprod() {
        return idprod;
    }

    public void setIdprod(String idprod) {
        this.idprod = idprod;
    }

    public String getDescpro() {
        return descpro;
    }

    public void setDescpro(String descpro) {
        this.descpro = descpro;
    }

    public double getStockact() {
        return stockact;
    }

    public void setStockact(double stockact) {
        this.stockact = stockact;
    }

    public double getStockmin() {
        return stockmin;
    }

    public void setStockmin(double stockmin) {
        this.stockmin = stockmin;
    }

    public String getEstapro() {
        return estapro;
    }

    public void setEstapro(String estapro) {
        this.estapro = estapro;
    }

    public String getCodipro() {
        return codipro;
    }

    public void setCodipro(String codipro) {
        this.codipro = codipro;
    }

    public String getObspro() {
        return obspro;
    }

    public void setObspro(String obspro) {
        this.obspro = obspro;
    }

    public double getPrecvent() {
        return precvent;
    }

    public void setPrecvent(double precvent) {
        this.precvent = precvent;
    }

    public Marca getMarca() {
        return marca;
    }

    public void setMarca(Marca marca) {
        this.marca = marca;
    }

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }

    public Linea getLinea() {
        return linea;
    }

    public void setLinea(Linea linea) {
        this.linea = linea;
    }
}
